<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
{% load i18n %}
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	
	 <meta name="description" content="DC OTB fake money, real bragging rights" />
	 <meta name="keywords" content="DC OTB, betting, political" />
	 <meta name="author" content="DC OTB" />
	 
	<title>BettorPolitics</title>
	
{% block stylesheet %}
	<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}styles/style.css" />
	<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}styles/anytime.css" />
	<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.js"></script>
	<script type="text/javascript" src="{{ MEDIA_URL }}js/anytime.js"></script>
{% endblock%}
{% block extra_styles %}
{%endblock%}
</head>

<body>
{% block background %}
      
{% endblock%}

<div class='logo'>
  	
    <h2><a id="logolink" href="home"><img id="logoimg" src="{{ MEDIA_URL }}img/logo.png" width="250"/><span class="sub">(beta)</span></a></h2>
    
    </div>
    <br>
  <div id="header">
  {% block header %}   
  	
    <div id="nav">
    <ul>
 	{% if user.is_authenticated or thisuser.is_authenticated %}
	<li id="home" class="navbg"><a href="home" >Home</a> </li><li id="board" class="navbg"> <a href="/board">The Board</a> </li><li id="standings" class="navbg"> <a href="/standings">Standings</a> </li>{% if user.is_staff or thisuser.is_staff %}<li id="book" class="navbg"><a href="/book">The Book</a></li>{%endif%} <li id="account" class="navbg"> <a href="/account">Account</a></li><li id="feedback" class="navbg"> <a href="/feedback">Feedback</a></li><li id="feedback" class="navbg"> <a href="/faq">FAQ</a></li><li class="navbg"> <a href="/signout">Sign out</a></li>
	{% else %}
	<li id="home" class="navbg"><a href="home">Home</a></li><li id="signup" class="navbg"> <a href="/signup">Sign Up</a></li>
	{% endif %}
	</ul>
	</div>
  {% endblock %} 
  </div>
  <!-- CLOSES HEADER --> 
  <script>
$(document).ready(function()
  {
document.getElementById("{{page}}").className = "active_link";
});
</script>
  {% block content %}
 
{% endblock %}

</body>
</html>

